package cn.neusoft.feignClients;

import cn.neusoft.domain.Order1;
import cn.neusoft.interceptor.FeignInterceptor;
import cn.neusoft.vo.ResultBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
@FeignClient(value = "customer-server", configuration = FeignInterceptor.class)
public interface CustomerFeignClient {

    @PutMapping("/order/updateStatus")
    ResultBean updateOrderStatus(@RequestBody Order1 order);


}
